﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;

namespace _10FactorialWithArrays
{
    class Program
    {
        static void Main()
        {
            AllFactorialTo100();
        }
        static void AllFactorialTo100()
        {
            BigInteger fac = 1;
            BigInteger sum = 1;
            for (int j = 100; j >= 1; j--)
            {
                for (int i = j; i >= 1; i--)
                {
                    fac = fac * i;
                }
                Console.WriteLine("{0}! = {1}", j, fac);
                fac = 1;
            }
            return;
        }
    }
}
